import request from '@/utils/request'

// 查询制造单号金额数据列表
export function listMondet(query) {
  return request({
    url: '/money/mondet/list',
    method: 'get',
    params: query
  })
}

// 查询制造单号金额数据详细
export function getMondet(momId) {
  return request({
    url: '/money/mondet/' + momId,
    method: 'get'
  })
}

// 新增制造单号金额数据
export function addMondet(data) {
  return request({
    url: '/money/mondet',
    method: 'post',
    data: data
  })
}

// 修改制造单号金额数据
export function updateMondet(data) {
  return request({
    url: '/money/mondet',
    method: 'put',
    data: data
  })
}

// 删除制造单号金额数据
export function delMondet(momId) {
  return request({
    url: '/money/mondet/' + momId,
    method: 'delete'
  })
}

// 导出制造单号金额数据
export function exportMondet(query) {
  return request({
    url: '/money/mondet/export',
    method: 'get',
    params: query
  })
}